module.exports = {
  hasBorder: {
    type: Boolean,
    default: false,
    name: '显示边框',
    filedType: 'switch'
  },

  borderPosition: {
    type: Array,
    default() {
      return [0, 1, 2, 3]
    },
    name: '边框位置',
    filedType: 'select',
    options: [
      {
        name: '上边框',
        value: 0
      },
      {
        name: '下边框',
        value: 1
      },
      {
        name: '左边框',
        value: 2
      },
      {
        name: '右边框',
        value: 3
      }
    ],
    multiple: true,
    vif: {
      key: 'hasBorder',
      value: true
    }
  },

  borderColor: {
    type: String,
    default: '#cccccc',
    name: '边框颜色',
    filedType: 'color',
    vif: {
      key: 'hasBorder',
      value: true
    }
  },

  borderSize: {
    type: String,
    default: '1px',
    name: '边框宽度',
    filedType: 'string',
    vif: {
      key: 'hasBorder',
      value: true
    }
  },

  borderType: {
    type: Array,
    default: 'solid',
    name: '边框样式',
    filedType: 'select',
    options: [
      {
        name: '实线',
        value: 'solid'
      },
      {
        name: '虚线',
        value: 'dashed'
      },
      {
        name: '点划线',
        value: 'dotted'
      }
    ],
    vif: {
      key: 'hasBorder',
      value: true
    }
  },

  borderRadius: {
    type: String,
    default: '0',
    name: '边框圆角大小',
    filedType: 'string',
    vif: {
      key: 'hasBorder',
      value: true
    }
  }
}
